﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Modal/Master/Form.Master" AutoEventWireup="true"
    CodeBehind="EditUser.aspx.cs" Inherits="Thksoft.Modal.EditUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <%--<script>
    function selectRole() {
        var type = 1;
        var option = {};
        option.Area = ['850px', '550px'];
        option.Title = '角色选择';
        if (type == 1) {
            option.Scrollbar = false;
            option.shadeClose = true;
            option.maxmin = true;
            option.Url = '/BusinessExpansion/Business/SelectRole.aspx';
        }

        top.MessageBox.Load(option);
    }
</script>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="server">
    <tr>
        <td align="right" style="width: 40%;" colspan="2">用户名称：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:TextBox ID="FORM_USER_NAME" CssClass="txt_input" Width="180px" runat="server"></asp:TextBox>
            <font style="color: Red">*</font>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">直属公司：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:DropDownList ID="FORM_COMPANY_ID" AutoPostBack="true" CssClass="lblName" runat="server"
                Width="180px" OnSelectedIndexChanged="FORM_COMPANY_CHANGE">
            </asp:DropDownList>
            <font style="color: Red">*</font>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">直属部门：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:DropDownList ID="FORM_DEPARTMENT_ID" CssClass="lblName" runat="server" Width="180px" AutoPostBack="True">
            </asp:DropDownList>
            <font style="color: Red">*</font>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">系统角色：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:TextBox ID="FORM_ROLE_STRING" CssClass="txt_input" Width="180px" runat="server" OnClick="top.MessageBox.OpenRole({Window:window,Type:3,TextID:'FORM_ROLE_STRING',ValueID:'FORM_ROLE_IDS'});"
                Text="单击请选择角色"></asp:TextBox>
            <%--top.MessageBox.OpenRole({Window:window,TextID:'FORM_ROLE_STRING',ValueID:'FORM_ROLE_IDS'})--%>
            <img src="/Images/levelFour_01.jpg" runat="server" id="imgID" title="角色组选择" alt="" onclick="top.MessageBox.OpenRole({Type:3,Window:window,TextID:'FORM_ROLE_STRING',ValueID:'FORM_ROLE_IDS'});" />
            <%--top.MessageBox.OpenRole({Type:2,Window:window,TextID:'FORM_ROLE_STRING',ValueID:'FORM_ROLE_IDS'})--%>
            <font style="color: Red">*</font>
            <asp:HiddenField ID="FORM_ROLE_IDS" runat="server" />
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">性别：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:DropDownList ID="FORM_SEX" CssClass="lblName" runat="server" Width="180px" AutoPostBack="True">
                <asp:ListItem Value="1" Enabled="true">男</asp:ListItem>
                <asp:ListItem Value="0">女</asp:ListItem>
            </asp:DropDownList>
            <font style="color: Red">*</font>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">工作状态：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:DropDownList ID="FORM_JOB_STATE" CssClass="lblName" runat="server" Width="180px" AutoPostBack="True">
                <asp:ListItem Value="1" Enabled="true">在职</asp:ListItem>
                <asp:ListItem Value="0">离职</asp:ListItem>
            </asp:DropDownList>
            <font style="color: Red">*</font>
        </td>
    </tr>

    <tr>
        <td align="right" colspan="2">登录名称：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:TextBox ID="FORM_LOGIN_NAME" CssClass="txt_input" Width="180px" runat="server"></asp:TextBox>
            <font style="color: Red">*</font>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">登录密码：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:TextBox ID="FORM_PASSWORD" CssClass="txt_input" TextMode="Password" Width="180px"
                runat="server"></asp:TextBox>
            <font style="color: Red">*</font>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">联系电话：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:TextBox ID="FORM_PHONE" runat="server" CssClass="txt_input" Width="180px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">用户状态：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:DropDownList ID="FORM_LOGIN_STATE" CssClass="lblName" runat="server" Width="180px" AutoPostBack="True">
                <asp:ListItem Value="1" Enabled="true">允许登录</asp:ListItem>
                <asp:ListItem Value="0">禁止登录</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr runat="server" id="DIV_1">
        <td align="right" colspan="2">登录时间：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:Label runat="server" ID="LAST_LOGIN_TIME"></asp:Label>
        </td>
    </tr>
    <tr runat="server" id="DIV_2">
        <td align="right" colspan="2">是否在线：
        </td>
        <td align="left" style="padding-left: 10px;">
            <asp:Label runat="server" ID="USER_ONLINE_STATE"></asp:Label>
        </td>
    </tr>
</asp:Content>